<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改云笔记</title>
</head>
<body>
<form action="/note/mod/{{note.id}}/" method="post">
    {% csrf_token %}
    <p>
        主题
        <input type="text" name="title" required="required" value="{{note.title}}">
        <input type="submit" value="保存">
        <a href="/note/del/{{ note.id }}">删除</a>
        <a href="/note/">返回列表页</a>
        <br><br><textarea name="content" id="" autofocus="autofocus" cols="27"  rows="10" required="required">{{note.content}}</textarea>
    </p>
</form>
</body>
</html>